﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="PlugNT.Cms.Web.Member.Product.Edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="/Css/member.css" />
    <script type="text/javascript" src="/Js/jquery-1.4a2.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/Tools/Uploadify/uploadify.css" />
    <script type="text/javascript" src="/Tools/Uploadify/swfobject.js"></script>
    <script type="text/javascript" src="/Tools/Uploadify/Uploadify.js"></script>
    <script type="text/javascript" src="/Tools/Uploadify/UpPic.js"></script>
    <title></title>
</head>
<body>
    <form id="frm_Main" runat="server">
        <ext:PageManager ID="pm_Main" AutoSizePanelID="sf_Edit" runat="server" />
        <ext:Form ID="sf_Edit" ShowBorder="false" ShowHeader="false" EnableBackgroundColor="true"
            AutoScroll="true" LabelWidth="70px" BodyPadding="25px 15px" runat="server" EnableCollapse="True">
            <Rows>
                <ext:FormRow ColumnWidths="100%">
                    <Items>
                        <ext:ContentPanel ID="cpnl_PicD" runat="server" EnableBackgroundColor="true" ShowBorder="false" ShowHeader="false" BodyPadding="0 0 10px 0">
                        <table width="100%" cellspacing="0" cellpadding="0">
                            <tr>
                                <td class="editleft" style="width:75px">
                                    图标：
                                </td>
                                <td>
                                    <ext:TextBox ID="txt_file" Text="" runat="server" CssClass="hide"></ext:TextBox>
                                    <img src="/UploadFiles/PicMin.jpg" height="100" alt="图标" id="img_PicD" runat="server" class="img_picD"/>
                                    <div>
                                        <span id="uploadify"></span>(请上传小于1M的图片)
                                        <span id="fileQueue"></span>
                                    </div>
                                </td>
                            </tr>
                        </table>
                        </ext:ContentPanel>
                    </Items>
                </ext:FormRow>
                <ext:FormRow ColumnWidths="50% 50%">
                    <Items>
                        <ext:DropDownList ID="ddl_Trade" runat="server" Label="行业" Width="300px">
                        </ext:DropDownList>
                        <ext:DropDownList ID="ddl_State" runat="server" Label="状态" Width="300px">
                            <ext:ListItem Selected="True" Value="1" Text="正常" />
                            <ext:ListItem Value="2" Text="停用" />
                        </ext:DropDownList>
                    </Items>
                </ext:FormRow>
                <ext:FormRow ColumnWidths="50% 50%">
                    <Items>
                        <ext:DropDownList ID="ddl_Category" runat="server" Label="产品类别" Width="300px"> 
                        </ext:DropDownList>
                    </Items>
                </ext:FormRow>
                <ext:FormRow ColumnWidths="50% 50%">
                    <Items>
                        <ext:TextBox ID="txt_Name" runat="server" Label="名称" MaxLength="100" Text="" Width="300px"></ext:TextBox>
                        <ext:TextBox ID="txt_Price" runat="server" Label="售价" MaxLength="100" Text="" Width="300px"></ext:TextBox>
                    </Items>
                </ext:FormRow>
                <ext:FormRow ColumnWidths="100%">
                    <Items>
                        <ext:GroupPanel ID="cp_Description" Layout="Form" runat="server" AutoHeight="true" Title="描述" EnableCollapse="false">
                            <Items>
                                <ext:ContentPanel ID="cpnl_Description" runat="server" EnableBackgroundColor="true" ShowBorder="false" ShowHeader="false">
                              
                               <ext:HtmlEditor ID="txt_Description" Label="详细描述" Height="150px" runat="server" Width="810px">
                            </ext:HtmlEditor>
                                </ext:ContentPanel>
                            </Items>
                        </ext:GroupPanel>
                    </Items>
                </ext:FormRow>
            </Rows>
            <Toolbars>
                <ext:Toolbar ID="tbr_Search" Position="Bottom" runat="server">
                    <Items>
                        <ext:ToolbarFill ID="tf_sb" runat="server"></ext:ToolbarFill>
                        <ext:Button ID="btn_Save" Text="保存" ValidateForms="sf_Edit" runat="server" Icon="TextRuler" OnClick="btn_Save_Click">
                        </ext:Button>
                        <ext:Button ID="btn_Return" Text="返回" runat="server" Hidden="true" Icon="BulletGo" OnClick="btn_Return_Click">
                        </ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
        </ext:Form>
    </form>
</body>
</html>
